|
|
|
|
|
|
|
Day 11
Displaying Your Data with Graphs |
|
|
|
|
|
|
|
|
Today you learn how to add graph displays of your data to your database programs. By creating a simple graphing OLE Server that uses the graph control that ships with Visual Basic Professional Edition, you can easily create visual displays of your database. |
|
|
|
|
|
|
|
|
You also learn how to use SQL SELECT statements for creating datasets to use as the basis for your graphs. These SQL statements can be built into your code or stored as QueryDef objects in your database. |
|
|
|
|
|
|
|
|
You also learn how to save the generated graphs to disk as bitmap files, how to share your graphs with other programs by placing them on the Windows Clipboard, and how to send the completed graphs to the printer. |
|
|
|
|
|
|
|
|
Finally, when you complete this chapter you'll have a graphing OLE Server that you can use in all your future Visual Basic projects. As an example, you add a set of default graphs to the CompanyMaster project you started last week. |
|
|
|
|
|